package com.gitee.neuray.security.mail.mapper;

import com.gitee.neuray.security.mail.entity.SysMailSource;
import com.gitee.neuray.security.mail.vo.BirthDayVo;
import com.gitee.neuray.security.mail.vo.SysMailSourceVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface MailMapper extends Mapper<SysMailSource> {
    int add(@Param("params")SysMailSourceVo vo);
    SysMailSourceVo queryById(@Param("id") String id);
    List<SysMailSourceVo> getMailListToSend();
    int setMailStatus(@Param("id") String id,@Param("fszt") String fszt,@Param("error") String error);
    List<BirthDayVo> getBirthDayMailListToSend();
}
